import java.util.Scanner;

public class GradeReward {
        public static void main(String[] args) {
            Scanner scanner = new Scanner(System.in);
            
            System.out.print("请输入成绩：");
            int score = scanner.nextInt();
            
            if (score == 100) {
                System.out.println("恭喜您获得一辆BMW！");
            } else if (score > 80 && score <= 99) {
                System.out.println("恭喜您获得一台iPh100one XS Max！");
            } else if (score >= 60 && score <= 80) {
                System.out.println("恭喜您获得一个iPad！");
            } else {
                System.out.println("很抱歉，您没有获得任何奖励。");
            }
            
            scanner.close();
        }
    }
    

